﻿/**
 * ...
 * @author js ><
 */
package db;
import php.db.Object;

class Channel extends Object {
	static var TABLE_NAME = "channels";
	
	public var id: Int;
	public var name: String;
	public var link: String;
	public var link_img: String;
	public var description: String;
	public var date: Date;
	

	
	
	public static var manager = new ChannelManager(Channel);

	public function new(name: String, link: String, ?link_img: String,?description: String, date: Date) {
		super();
		this.name = name;
		this.link = link;
		this.link_img = link_img;
		this.description = description;
		this.date = date;
	}
	
}
